/*
*
*	The Gimme Javascript Library by Stephen Stchur
*	"A truly customizable Javascript library"
*
*	Copyright (c) Microsoft Corporation.  All rights reserved.
*
*/

Gimme.Internals = new function()
{
	function bindOrUnbind(binder)
	{
		return function(eventName, handler, useCapture)
		{
			this[binder](eventName, handler, useCapture);
		};
	}
	
	return {
		addEventListener: bindOrUnbind('addEventListener'),	
		removeEventListener: bindOrUnbind('removeEventListener'),
		attachEvent: bindOrUnbind('attachEvent'),
		detachEvent: bindOrUnbind('detachEvent'),
		parseJSON: function(json)
		{
			return JSON.parse(json);
		}
	};
};